package com.ruoyi.lhb.service;

import java.util.List;
import com.ruoyi.lhb.domain.Expatriaterecords;

/**
 * 外派记录Service接口
 *
 * @author lhb
 * @date 2022-09-28
 */
public interface IExpatriaterecordsService
{
    /**
     * 查询外派记录
     *
     * @param expatriateid 外派记录主键
     * @return 外派记录
     */
    public Expatriaterecords selectExpatriaterecordsByExpatriateid(Long expatriateid);

    /**
     * 查询外派记录列表
     *
     * @param expatriaterecords 外派记录
     * @return 外派记录集合
     */
    public List<Expatriaterecords> selectExpatriaterecordsList(Expatriaterecords expatriaterecords);

    /**
     * 新增外派记录
     *
     * @param expatriaterecords 外派记录
     * @return 结果
     */
    public int insertExpatriaterecords(Expatriaterecords expatriaterecords);

    /**
     * 修改外派记录
     *
     * @param expatriaterecords 外派记录
     * @return 结果
     */
    public int updateExpatriaterecords(Expatriaterecords expatriaterecords);

    /**
     * 批量删除外派记录
     *
     * @param expatriateids 需要删除的外派记录主键集合
     * @return 结果
     */
    public int deleteExpatriaterecordsByExpatriateids(Long[] expatriateids);

    /**
     * 删除外派记录信息
     *
     * @param expatriateid 外派记录主键
     * @return 结果
     */
    public int deleteExpatriaterecordsByExpatriateid(Long expatriateid);
}
